Class Factory

Summary

Fully Qualified Name: Laminas\InputFilter\Factory

Description

Methods

Name Description Defined By
__construct() Factory
clearDefaultFilterChain() Clear the default filter chain (i.e., don't inject one into new inputs) Factory
clearDefaultValidatorChain() Clear the default validator chain (i.e., don't inject one into new inputs) Factory
createInput() Factory for input objects Factory
createInputFilter() Factory for input filters Factory
getDefaultFilterChain() Get default filter chain, if any Factory
getDefaultValidatorChain() Get default validator chain, if any Factory
getInputFilterManager() Factory
setDefaultFilterChain() Set default filter chain to use Factory
setDefaultValidatorChain() Set default validator chain to use Factory
setInputFilterManager() Factory

Method Details

__construct()

Parameter Name Type Description
$inputFilterManager \InputFilterPluginManager

Returns:

clearDefaultFilterChain()

Clear the default filter chain (i.e., don't inject one into new inputs)

Returns: void

clearDefaultValidatorChain()

Clear the default validator chain (i.e., don't inject one into new inputs)

Returns: void

createInput()

Factory for input objects

Parameter Name Type Description
$inputSpecification array|\Traversable|\InputProviderInterface

Returns: \InputInterface|\InputFilterInterface

createInputFilter()

Factory for input filters

Parameter Name Type Description
$inputFilterSpecification array|\Traversable|\InputFilterProviderInterface

Returns: \InputFilterInterface

getDefaultFilterChain()

Get default filter chain, if any

Returns: null|\FilterChain

getDefaultValidatorChain()

Get default validator chain, if any

Returns: null|\ValidatorChain

getInputFilterManager()

Returns: \InputFilterPluginManager

setDefaultFilterChain()

Set default filter chain to use

Parameter Name Type Description
$filterChain \FilterChain

Returns: \Factory

setDefaultValidatorChain()

Set default validator chain to use

Parameter Name Type Description
$validatorChain \ValidatorChain

Returns: \Factory

setInputFilterManager()

Parameter Name Type Description
$inputFilterManager \InputFilterPluginManager

Returns: self

Top